Imports System
Imports System.Collections.Generic
Imports System.Text
Imports System.Configuration

Namespace ViewStateEliminator.Configuration
    Public Class ViewStateConfiguration
        Inherits ConfigurationSection
        <ConfigurationProperty("EliminatorMode")> _
        Public Property EliminatorMode() As String
            Get
                Return CType(Me("EliminatorMode"), String)
            End Get
            Set(ByVal value As String)
                Me("EliminatorMode") = value
            End Set
        End Property
        <ConfigurationProperty("UseCompression")> _
        Public Property UseCompression() As Boolean
            Get
                Return CBool(Me("UseCompression"))
            End Get
            Set(ByVal value As Boolean)
                Me("UseCompression") = value
            End Set
        End Property
        <ConfigurationProperty("UniqueIdSource")> _
               Public Property UniqueIdSource() As String
            Get
                Return CType(Me("UniqueIdSource"), String)
            End Get
            Set(ByVal value As String)
                Me("UniqueIdSource") = value
            End Set
        End Property
        <ConfigurationProperty("defaultDatabase")> _
       Public Property defaultDatabase() As String
            Get
                Return CType(Me("defaultDatabase"), String)
            End Get
            Set(ByVal value As String)
                Me("defaultDatabase") = value
            End Set
        End Property

    End Class
End Namespace
